home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobysnackmachine.swf / scripts / __Packages / Library / Sound / SoundItem.as next >
Encoding:
Text File  |  2007-10-01  |  32.7 KB  |  851 lines

  1. var ┬º\x01┬º = 830;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 830)
  6.    {
  7.       set("\x01",eval("\x01") + 89);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 919)
  12.    {
  13.       set("\x01",eval("\x01") - 802);
  14.       if(┬º┬ºpop())
  15.       {
  16.          set("\x01",eval("\x01") + 402);
  17.       }
  18.       continue;
  19.    }
  20.    if(eval("\x01") == 433)
  21.    {
  22.       set("\x01",eval("\x01") - 11);
  23.       set(┬º┬ºpop(),┬º┬ºpop());
  24.       break;
  25.    }
  26.    if(eval("\x01") == 194)
  27.    {
  28.       set("\x01",eval("\x01") + 125);
  29.       ┬º┬ºpush(┬º┬ºpop() >>> (┬º┬ºpop() instanceof ┬º┬ºpop() >>> (┬º┬ºpop() >> ┬º┬ºpop())));
  30.       break;
  31.    }
  32.    if(eval("\x01") == 568)
  33.    {
  34.       set("\x01",eval("\x01") - 358);
  35.       if(┬º┬ºpop())
  36.       {
  37.          set("\x01",eval("\x01") + 540);
  38.       }
  39.       continue;
  40.    }
  41.    if(eval("\x01") == 395)
  42.    {
  43.       set("\x01",eval("\x01") - 297);
  44.       continue;
  45.    }
  46.    if(eval("\x01") == 519)
  47.    {
  48.       set("\x01",eval("\x01") - 516);
  49.       continue;
  50.    }
  51.    if(eval("\x01") == 577)
  52.    {
  53.       set("\x01",eval("\x01") + 278);
  54.       ┬º┬ºpush(true);
  55.       continue;
  56.    }
  57.    if(eval("\x01") == 10)
  58.    {
  59.       set("\x01",eval("\x01") + 88);
  60.       continue;
  61.    }
  62.    if(eval("\x01") == 422)
  63.    {
  64.       set("\x01",eval("\x01") + 155);
  65.       continue;
  66.    }
  67.    if(eval("\x01") == 750)
  68.    {
  69.       set("\x01",eval("\x01") - 342);
  70.       continue;
  71.    }
  72.    if(eval("\x01") == 408)
  73.    {
  74.       set("\x01",eval("\x01") + 41);
  75.       ┬º┬ºpush(true);
  76.       continue;
  77.    }
  78.    if(eval("\x01") == 300)
  79.    {
  80.       set("\x01",eval("\x01") + 277);
  81.       continue;
  82.    }
  83.    if(eval("\x01") == 855)
  84.    {
  85.       set("\x01",eval("\x01") - 661);
  86.       if(┬º┬ºpop())
  87.       {
  88.          set("\x01",eval("\x01") + 125);
  89.       }
  90.       continue;
  91.    }
  92.    if(eval("\x01") == 863)
  93.    {
  94.       set("\x01",eval("\x01") - 72);
  95.       continue;
  96.    }
  97.    if(eval("\x01") == 319)
  98.    {
  99.       set("\x01",eval("\x01") + 538);
  100.       continue;
  101.    }
  102.    if(eval("\x01") == 210)
  103.    {
  104.       set("\x01",eval("\x01") + 540);
  105.       if(┬º┬ºpop() > eval(┬º┬ºpop())[┬º┬ºconstant(78)])
  106.       {
  107.          _loc1_[┬º┬ºconstant(9)] = eval("A{invalid_utf8=232}")[┬º┬ºconstant(78)];
  108.       }
  109.       _loc1_[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(15)] += _loc1_[┬º┬ºconstant(9)];
  110.       var _loc6_ = eval(┬º┬ºconstant(21))[┬º┬ºconstant(50)]()[┬º┬ºconstant(79)]();
  111.       var _loc3_ = undefined;
  112.       _loc3_ = 0;
  113.       for(; _loc3_ <= _loc6_[┬º┬ºconstant(80)] - 1; _loc3_ = _loc3_ + 1)
  114.       {
  115.          var _loc2_ = _loc6_[_loc3_];
  116.          if(_loc2_ == _loc1_)
  117.          {
  118.             continue;
  119.          }
  120.          var _loc4_ = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(82)](_loc1_[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(81)](eval(┬º┬ºconstant(21))[┬º┬ºconstant(50)]()[┬º┬ºconstant(57)]()));
  121.          var _loc5_ = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(70)](_loc4_[┬º┬ºconstant(84)],_loc4_[┬º┬ºconstant(83)],_loc2_[┬º┬ºconstant(57)]()[┬º┬ºconstant(67)],_loc2_[┬º┬ºconstant(57)]()[┬º┬ºconstant(15)]);
  122.          if(_loc5_ > _loc2_[┬º┬ºconstant(85)]())
  123.          {
  124.             continue;
  125.          }
  126.          if(!_loc2_[┬º┬ºconstant(87)]()[┬º┬ºconstant(88)](_loc1_[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(13)][┬º┬ºconstant(86)]))
  127.          {
  128.             continue;
  129.          }
  130.          switch(_loc2_[┬º┬ºconstant(89)]())
  131.          {
  132.             case eval(┬º┬ºconstant(21))[┬º┬ºconstant(90)]:
  133.                eval(┬º┬ºconstant(94))(_loc2_)[┬º┬ºconstant(95)](_loc1_);
  134.                _loc1_[┬º┬ºconstant(56)][┬º┬ºconstant(57)]()[┬º┬ºconstant(58)] = false;
  135.                _loc1_[┬º┬ºconstant(9)] = 0;
  136.                _loc1_[┬º┬ºconstant(10)] = false;
  137.                _loc1_[┬º┬ºconstant(7)] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(44)];
  138.                _loc1_[┬º┬ºconstant(23)][┬º┬ºconstant(27)](┬º┬ºconstant(96));
  139.                _loc1_[┬º┬ºconstant(33)] = eval(┬º┬ºconstant(24))[┬º┬ºconstant(100)][┬º┬ºconstant(101)][┬º┬ºconstant(102)](eval(┬º┬ºconstant(98))[┬º┬ºconstant(99)],┬º┬ºconstant(97));
  140.                _loc1_[┬º┬ºconstant(33)][┬º┬ºconstant(103)](_loc1_);
  141.                _loc1_[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(13)][┬º┬ºconstant(105)][┬º┬ºconstant(106)](_loc1_[┬º┬ºconstant(56)][┬º┬ºconstant(104)]());
  142.                break;
  143.             case eval(┬º┬ºconstant(21))[┬º┬ºconstant(91)]:
  144.             case eval(┬º┬ºconstant(21))[┬º┬ºconstant(92)]:
  145.             case eval(┬º┬ºconstant(21))[┬º┬ºconstant(93)]:
  146.                _loc1_[┬º┬ºconstant(9)] = 0;
  147.                _loc1_[┬º┬ºconstant(7)] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(44)];
  148.                _loc1_[┬º┬ºconstant(23)][┬º┬ºconstant(27)](┬º┬ºconstant(26));
  149.                _loc1_[┬º┬ºconstant(33)] = eval(┬º┬ºconstant(24))[┬º┬ºconstant(100)][┬º┬ºconstant(101)][┬º┬ºconstant(102)](eval(┬º┬ºconstant(98))[┬º┬ºconstant(99)],┬º┬ºconstant(97));
  150.                _loc1_[┬º┬ºconstant(33)][┬º┬ºconstant(103)](_loc1_);
  151.                break;
  152.          }
  153.       }
  154.       _loc1_[┬º┬ºconstant(28)]();
  155.       ┬º┬ºpop()[┬º┬ºpop()] = ┬º┬ºpop();
  156.       _loc2_[┬º┬ºconstant(39)] = function()
  157.       {
  158.          var _loc2_ = undefined;
  159.          var _loc3_ = undefined;
  160.          if(this["YHU~"] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)])
  161.          {
  162.             _loc3_ = -1;
  163.          }
  164.          else
  165.          {
  166.             _loc3_ = 1;
  167.          }
  168.          if(this[┬º┬ºconstant(10)])
  169.          {
  170.             if(eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(71)](this[┬º┬ºconstant(72)]) == 1)
  171.             {
  172.                this["YHU~"] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(107)];
  173.             }
  174.             else
  175.             {
  176.                this["YHU~"] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)];
  177.             }
  178.             _loc2_ = this[┬º┬ºconstant(72)];
  179.          }
  180.          else if(this["YHU~"] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)])
  181.          {
  182.             _loc2_ = - this[┬º┬ºconstant(18)];
  183.          }
  184.          else
  185.          {
  186.             _loc2_ = this[┬º┬ºconstant(18)];
  187.          }
  188.          var _loc5_ = _loc3_ * eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(108)];
  189.          if(eval(┬º┬ºconstant(109))[┬º┬ºconstant(110)](this[┬º┬ºconstant(17)]) >= eval(┬º┬ºconstant(109))[┬º┬ºconstant(110)](_loc2_) * eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(111)])
  190.          {
  191.             if(_loc3_ == eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(71)](this[┬º┬ºconstant(17)]))
  192.             {
  193.                this[┬º┬ºconstant(16)] -= eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(112)];
  194.                if(this[┬º┬ºconstant(16)] < eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(113)])
  195.                {
  196.                   this[┬º┬ºconstant(16)] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(113)];
  197.                }
  198.             }
  199.             else
  200.             {
  201.                this[┬º┬ºconstant(16)] += eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(112)];
  202.                if(this[┬º┬ºconstant(16)] > 1)
  203.                {
  204.                   this[┬º┬ºconstant(16)] = 1;
  205.                }
  206.             }
  207.             _loc5_ *= this[┬º┬ºconstant(16)];
  208.          }
  209.          else
  210.          {
  211.             this[┬º┬ºconstant(16)] = 1;
  212.          }
  213.          this[┬º┬ºconstant(17)] += _loc5_;
  214.          var _loc6_ = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(114)](this[┬º┬ºconstant(19)]);
  215.          var _loc7_ = eval(┬º┬ºconstant(109))[┬º┬ºconstant(115)](_loc6_) * this[┬º┬ºconstant(17)];
  216.          var _loc8_ = eval(┬º┬ºconstant(109))[┬º┬ºconstant(116)](_loc6_) * this[┬º┬ºconstant(17)];
  217.          this[┬º┬ºconstant(12)][┬º┬ºconstant(67)] = this[┬º┬ºconstant(37)][┬º┬ºconstant(67)] + _loc7_;
  218.          this[┬º┬ºconstant(12)][┬º┬ºconstant(15)] = this[┬º┬ºconstant(37)][┬º┬ºconstant(15)] + _loc8_;
  219.          if(this["YHU~"] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)])
  220.          {
  221.             if(this[┬º┬ºconstant(17)] < _loc2_)
  222.             {
  223.                this["YHU~"] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(107)];
  224.             }
  225.          }
  226.          else if(this[┬º┬ºconstant(17)] > _loc2_)
  227.          {
  228.             this["YHU~"] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)];
  229.          }
  230.          if(this[┬º┬ºconstant(10)])
  231.          {
  232.             var _loc4_ = false;
  233.             if(this["YHU~"] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)])
  234.             {
  235.                if(this[┬º┬ºconstant(17)] < _loc2_ + eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(117)])
  236.                {
  237.                   _loc4_ = true;
  238.                }
  239.             }
  240.             else if(this[┬º┬ºconstant(17)] > _loc2_ - eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(117)])
  241.             {
  242.                _loc4_ = true;
  243.             }
  244.             if(_loc4_)
  245.             {
  246.                this[┬º┬ºconstant(7)] = eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(8)];
  247.                this[┬º┬ºconstant(10)] = false;
  248.                this["YHU~"] = this[┬º┬ºconstant(4)];
  249.             }
  250.          }
  251.       };
  252.       _loc2_[┬º┬ºconstant(28)] = function()
  253.       {
  254.          var _loc3_ = this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(118)][┬º┬ºconstant(15)];
  255.          var _loc4_ = this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(15)];
  256.          var _loc2_ = _loc4_ - _loc3_;
  257.          this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(119)][┬º┬ºconstant(120)] = _loc2_;
  258.       };
  259.       _loc2_[┬º┬ºconstant(41)] = function()
  260.       {
  261.          var _loc3_ = undefined;
  262.          if(this["YHU~"] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(3)])
  263.          {
  264.             _loc3_ = -1;
  265.          }
  266.          else
  267.          {
  268.             _loc3_ = 1;
  269.          }
  270.          var _loc2_ = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(69)][┬º┬ºconstant(82)](this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(14)][┬º┬ºconstant(81)](eval(┬º┬ºconstant(21))[┬º┬ºconstant(50)]()[┬º┬ºconstant(57)]()));
  271.          this[┬º┬ºconstant(56)][┬º┬ºconstant(57)]()[┬º┬ºconstant(67)] = _loc2_[┬º┬ºconstant(84)];
  272.          this[┬º┬ºconstant(56)][┬º┬ºconstant(57)]()[┬º┬ºconstant(15)] = _loc2_[┬º┬ºconstant(83)];
  273.       };
  274.       _loc2_[┬º┬ºconstant(29)] = function()
  275.       {
  276.          if(this[┬º┬ºconstant(40)]())
  277.          {
  278.             this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(121)][┬º┬ºconstant(122)] = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(123)][┬º┬ºconstant(124)](this,this[┬º┬ºconstant(55)]);
  279.          }
  280.          else if(this[┬º┬ºconstant(7)] == eval("{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}")[┬º┬ºconstant(8)])
  281.          {
  282.             this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(121)][┬º┬ºconstant(122)] = eval(┬º┬ºconstant(24))[┬º┬ºconstant(68)][┬º┬ºconstant(123)][┬º┬ºconstant(124)](this,this[┬º┬ºconstant(49)]);
  283.          }
  284.          else
  285.          {
  286.             delete this[┬º┬ºconstant(12)][┬º┬ºconstant(13)][┬º┬ºconstant(121)][┬º┬ºconstant(122)];
  287.          }
  288.       };
  289.       _loc1_[┬º┬ºconstant(125)] = 0;
  290.       _loc1_[┬º┬ºconstant(3)] = 1;
  291.       _loc1_[┬º┬ºconstant(107)] = 2;
  292.       _loc1_[┬º┬ºconstant(8)] = 1;
  293.       _loc1_[┬º┬ºconstant(42)] = 2;
  294.       _loc1_[┬º┬ºconstant(36)] = 3;
  295.       _loc1_[┬º┬ºconstant(44)] = 4;
  296.       _loc1_[┬º┬ºconstant(6)] = 1;
  297.       _loc1_[┬º┬ºconstant(38)] = 2;
  298.       _loc1_[┬º┬ºconstant(117)] = 5;
  299.       _loc1_[┬º┬ºconstant(108)] = 1.2;
  300.       _loc1_[┬º┬ºconstant(78)] = 13;
  301.       _loc1_[┬º┬ºconstant(77)] = 1.4;
  302.       _loc1_[┬º┬ºconstant(76)] = 4;
  303.       _loc1_[┬º┬ºconstant(75)] = 0.1;
  304.       _loc1_[┬º┬ºconstant(111)] = 0.8;
  305.       _loc1_[┬º┬ºconstant(112)] = 0.06;
  306.       _loc1_[┬º┬ºconstant(113)] = 0.5;
  307.       ┬º┬ºconstant(128)(eval("{invalid_utf8=134}{invalid_utf8=146}\x02")["{invalid_utf8=168}{invalid_utf8=166}b#2{invalid_utf8=136}\'{invalid_utf8=150}"][┬º┬ºconstant(31)],null,1);
  308.       ┬º┬ºpush(_loc2_[┬º┬ºconstant(127)](┬º┬ºconstant(126),_loc2_[┬º┬ºconstant(40)],function()
  309.       {
  310.       }
  311.       ));
  312.       break;
  313.    }
  314.    if(eval("\x01") == 928)
  315.    {
  316.       set("\x01",eval("\x01") - 495);
  317.       if(┬º┬ºpop())
  318.       {
  319.          set("\x01",eval("\x01") - 11);
  320.       }
  321.       continue;
  322.    }
  323.    if(eval("\x01") == 769)
  324.    {
  325.       set("\x01",eval("\x01") + 88);
  326.       continue;
  327.    }
  328.    if(eval("\x01") == 857)
  329.    {
  330.       set("\x01",eval("\x01") - 654);
  331.       ┬º┬ºpush(true);
  332.       continue;
  333.    }
  334.    if(eval("\x01") == 117)
  335.    {
  336.       set("\x01",eval("\x01") + 402);
  337.       ┬º┬ºenumerate(┬º┬ºpop());
  338.       ┬º┬ºpush(┬º┬ºpop() > (┬º┬ºpop() | ┬º┬ºenumeration()));
  339.       break;
  340.    }
  341.    if(eval("\x01") == 203)
  342.    {
  343.       set("\x01",eval("\x01") + 91);
  344.       if(┬º┬ºpop())
  345.       {
  346.          set("\x01",eval("\x01") - 284);
  347.       }
  348.       continue;
  349.    }
  350.    if(eval("\x01") == 62)
  351.    {
  352.       set("\x01",eval("\x01") - 59);
  353.       continue;
  354.    }
  355.    if(eval("\x01") == 294)
  356.    {
  357.       set("\x01",eval("\x01") - 284);
  358.       break;
  359.    }
  360.    if(eval("\x01") == 449)
  361.    {
  362.       set("\x01",eval("\x01") + 379);
  363.       if(┬º┬ºpop())
  364.       {
  365.          set("\x01",eval("\x01") + 35);
  366.       }
  367.       continue;
  368.    }
  369.    if(eval("\x01") == 3)
  370.    {
  371.       set("\x01",eval("\x01") + 925);
  372.       ┬º┬ºpush(true);
  373.       continue;
  374.    }
  375.    if(eval("\x01") == 98)
  376.    {
  377.       set("\x01",eval("\x01") + 470);
  378.       ┬º┬ºpush(true);
  379.       continue;
  380.    }
  381.    if(eval("\x01") == 734)
  382.    {
  383.       set("\x01",eval("\x01") - 326);
  384.       continue;
  385.    }
  386.    if(eval("\x01") != 828)
  387.    {
  388.       if(eval("\x01") == 427)
  389.       {
  390.          set("\x01",eval("\x01") + 364);
  391.       }
  392.       else
  393.       {
  394.          if(eval("\x01") == 625)
  395.          {
  396.             set("\x01",eval("\x01") + 17);
  397.             if(!_global.Library)
  398.             {
  399.                _global.Library = new Object();
  400.             }
  401.             ┬º┬ºpop();
  402.             if(!_global.Library.Sound)
  403.             {
  404.                _global.Library.Sound = new Object();
  405.             }
  406.             ┬º┬ºpop();
  407.             if(!_global.Library.Sound.SoundItem)
  408.             {
  409.                _loc2_ = Library.Sound.SoundItem = function(__sndObject, __sLinkage, __nVolume, __nLoop, __sCategory, __mc)
  410.                {
  411.                   this.sndObj = __sndObject;
  412.                   this.sLinkage = __sLinkage;
  413.                   this.mcRef = __mc;
  414.                   this.nRemainingLoop = __nLoop;
  415.                   this.nCurrentVolume = __nVolume;
  416.                   this.nTargetVolume = __nVolume;
  417.                   this.nFadeRate = Library.Sound.SoundItem.FADE_RATE;
  418.                   this.sCategory = __sCategory;
  419.                   this.bFadeAtEnd = false;
  420.                   this.bMuted = false;
  421.                   this.bPaused = false;
  422.                   this.bNeedFreshStart = false;
  423.                   this.sndObj.onSoundComplete = mx.utils.Delegate.create(this,this.doSoundComplete);
  424.                   this.sndObj.start(0,__nLoop);
  425.                   this.sndObj.setVolume(this.returnComputedVolume(this.nCurrentVolume));
  426.                   this.nCurrentTime = 0;
  427.                   this.aEventListeners = new Array();
  428.                }.prototype;
  429.                _loc2_.doEnterFrame = function()
  430.                {
  431.                   if(!this.bPaused)
  432.                   {
  433.                      if(this.nCurrentTime > this.sndObj.position)
  434.                      {
  435.                         this.nRemainingLoop = this.nRemainingLoop - 1;
  436.                      }
  437.                      this.nCurrentTime = this.sndObj.position;
  438.                   }
  439.                   this.doCheckFadeAtEnd();
  440.                   this.doManageFade();
  441.                };
  442.                _loc2_.doAddListener = function(__oListener)
  443.                {
  444.                   this.aEventListeners.push(__oListener);
  445.                };
  446.                _loc2_.doRemoveListener = function(__oListener)
  447.                {
  448.                   var _loc2_ = 0;
  449.                   while(_loc2_ < this.aEventListeners.length)
  450.                   {
  451.                      if(this.aEventListeners[_loc2_] == __oListener)
  452.                      {
  453.                         delete this.aEventListeners[_loc2_];
  454.                         this.aEventListeners.splice(_loc2_,1);
  455.                      }
  456.                      _loc2_ = _loc2_ + 1;
  457.                   }
  458.                };
  459.                _loc2_.doSoundComplete = function()
  460.                {
  461.                   if(this.bNeedFreshStart && this.nRemainingLoop > 1)
  462.                   {
  463.                      this.sndObj.start(0,this.nRemainingLoop - 1);
  464.                   }
  465.                   else
  466.                   {
  467.                      this.doManageEndEvent();
  468.                   }
  469.                };
  470.                _loc2_.doUpdateSound = function()
  471.                {
  472.                   this.sndObj.setVolume(this.returnComputedVolume(this.nCurrentVolume));
  473.                };
  474.                _loc2_.doMute = function()
  475.                {
  476.                   this.bMuted = true;
  477.                   this.doUpdateSound();
  478.                };
  479.                _loc2_.doUnMute = function()
  480.                {
  481.                   this.bMuted = false;
  482.                   this.doUpdateSound();
  483.                };
  484.                _loc2_.doPause = function()
  485.                {
  486.                   this.sndObj.stop();
  487.                   this.bPaused = true;
  488.                };
  489.                _loc2_.doResume = function()
  490.                {
  491.                   this.bPaused = false;
  492.                   this.bNeedFreshStart = true;
  493.                   this.sndObj.start(this.nCurrentTime / 1000,1);
  494.                };
  495.                _loc2_.doStop = function()
  496.                {
  497.                   this.sndObj.stop();
  498.                   this.doManageEndEvent();
  499.                };
  500.                _loc2_.doFadeTo = function(__nVolume, __bStopAndDelete)
  501.                {
  502.                   if(__bStopAndDelete == undefined)
  503.                   {
  504.                      __bStopAndDelete = true;
  505.                   }
  506.                   this.bStopAfterFade = __bStopAndDelete;
  507.                   this.nTargetVolume = __nVolume;
  508.                };
  509.                _loc2_.setFadeRate = function(__nRate)
  510.                {
  511.                   if(__nRate == undefined)
  512.                   {
  513.                      __nRate = Library.Sound.SoundItem.FADE_RATE;
  514.                   }
  515.                   this.nFadeRate = __nRate;
  516.                };
  517.                _loc2_.setFadeAtEnd = function(__bFadeAtEnd)
  518.                {
  519.                   this.bFadeAtEnd = true;
  520.                };
  521.                _loc2_.setPan = function(__nPan)
  522.                {
  523.                   this.sndObj.setPan(__nPan);
  524.                };
  525.                _loc2_.__get__Category = function()
  526.                {
  527.                   return this.sCategory;
  528.                };
  529.                _loc2_.__get__LinkageName = function()
  530.                {
  531.                   return this.sLinkage;
  532.                };
  533.                _loc2_.doDestroy = function()
  534.                {
  535.                   this.sndObj.stop();
  536.                   delete this.sndObj;
  537.                   this.mcRef.removeMovieClip();
  538.                };
  539.                _loc2_.doCheckFadeAtEnd = function()
  540.                {
  541.                   if(this.bFadeAtEnd)
  542.                   {
  543.                      if(this.nRemainingLoop == 1)
  544.                      {
  545.                         if(this.sndObj.duration - this.nCurrentTime <= Library.Sound.SoundItem.FADE_AT_END_TIME)
  546.                         {
  547.                            this.doFadeTo(0);
  548.                         }
  549.                      }
  550.                   }
  551.                };
  552.                _loc2_.doManageEndEvent = function()
  553.                {
  554.                   var _loc2_ = 0;
  555.                   while(_loc2_ < this.aEventListeners.length)
  556.                   {
  557.                      this.aEventListeners[_loc2_].doSoundEvent(Library.Sound.SoundManager.EVENT_SOUND_COMPLETE,this);
  558.                      _loc2_ = _loc2_ + 1;
  559.                   }
  560.                   this.aEventListeners = new Array();
  561.                   this.mcRef.removeMovieClip();
  562.                   delete this.mcRef;
  563.                   delete this.aEventListeners;
  564.                   delete this.sndObj.onSoundComplete;
  565.                   delete this.sndObj;
  566.                };
  567.                _loc2_.doManageFade = function()
  568.                {
  569.                   if(this.nCurrentVolume != this.nTargetVolume)
  570.                   {
  571.                      this.nCurrentVolume = Library.Utils.MoreMath.getReachNum(this.nCurrentVolume,this.nTargetVolume,this.nFadeRate);
  572.                      this.sndObj.setVolume(this.returnComputedVolume(this.nCurrentVolume));
  573.                   }
  574.                   if(this.nCurrentVolume <= 0 && this.bStopAfterFade)
  575.                   {
  576.                      this.sndObj.stop();
  577.                      this.doManageEndEvent();
  578.                   }
  579.                };
  580.                _loc2_.returnComputedVolume = function(__nVolume)
  581.                {
  582.                   var _loc2_ = undefined;
  583.                   if(!this.bMuted && !Library.Sound.SoundManager.isCategoryMuted(this.sCategory))
  584.                   {
  585.                      var _loc3_ = Library.Sound.SoundManager.MasterVolume / 100;
  586.                      var _loc4_ = Library.Sound.SoundManager.getCategoryVolume(this.sCategory) / 100;
  587.                      _loc2_ = __nVolume;
  588.                      _loc2_ *= _loc4_;
  589.                      _loc2_ *= _loc3_;
  590.                   }
  591.                   else
  592.                   {
  593.                      _loc2_ = 0;
  594.                   }
  595.                   return _loc2_;
  596.                };
  597.                Library.Sound.SoundItem = function(__sndObject, __sLinkage, __nVolume, __nLoop, __sCategory, __mc)
  598.                {
  599.                   this.sndObj = __sndObject;
  600.                   this.sLinkage = __sLinkage;
  601.                   this.mcRef = __mc;
  602.                   this.nRemainingLoop = __nLoop;
  603.                   this.nCurrentVolume = __nVolume;
  604.                   this.nTargetVolume = __nVolume;
  605.                   this.nFadeRate = Library.Sound.SoundItem.FADE_RATE;
  606.                   this.sCategory = __sCategory;
  607.                   this.bFadeAtEnd = false;
  608.                   this.bMuted = false;
  609.                   this.bPaused = false;
  610.                   this.bNeedFreshStart = false;
  611.                   this.sndObj.onSoundComplete = mx.utils.Delegate.create(this,this.doSoundComplete);
  612.                   this.sndObj.start(0,__nLoop);
  613.                   this.sndObj.setVolume(this.returnComputedVolume(this.nCurrentVolume));
  614.                   this.nCurrentTime = 0;
  615.                   this.aEventListeners = new Array();
  616.                }.FADE_RATE = 8;
  617.                Library.Sound.SoundItem = function(__sndObject, __sLinkage, __nVolume, __nLoop, __sCategory, __mc)
  618.                {
  619.                   this.sndObj = __sndObject;
  620.                   this.sLinkage = __sLinkage;
  621.                   this.mcRef = __mc;
  622.                   this.nRemainingLoop = __nLoop;
  623.                   this.nCurrentVolume = __nVolume;
  624.                   this.nTargetVolume = __nVolume;
  625.                   this.nFadeRate = Library.Sound.SoundItem.FADE_RATE;
  626.                   this.sCategory = __sCategory;
  627.                   this.bFadeAtEnd = false;
  628.                   this.bMuted = false;
  629.                   this.bPaused = false;
  630.                   this.bNeedFreshStart = false;
  631.                   this.sndObj.onSoundComplete = mx.utils.Delegate.create(this,this.doSoundComplete);
  632.                   this.sndObj.start(0,__nLoop);
  633.                   this.sndObj.setVolume(this.returnComputedVolume(this.nCurrentVolume));
  634.                   this.nCurrentTime = 0;
  635.                   this.aEventListeners = new Array();
  636.                }.FADE_AT_END_TIME = 800;
  637.                ┬º┬ºpush(_loc2_.addProperty("Category",_loc2_.__get__Category,function()
  638.                {
  639.                }
  640.                ));
  641.                ┬º┬ºpush(_loc2_.addProperty("LinkageName",_loc2_.__get__LinkageName,function()
  642.                {
  643.                }
  644.                ));
  645.                ┬º┬ºpush(ASSetPropFlags(Library.Sound.SoundItem.prototype,null,1));
  646.             }
  647.             ┬º┬ºpop();
  648.             break;
  649.          }
  650.          if(eval("\x01") != 791)
  651.          {
  652.             if(eval("\x01") == 642)
  653.             {
  654.                set("\x01",eval("\x01") - 642);
  655.             }
  656.             break;
  657.          }
  658.          set("\x01",eval("\x01") - 166);
  659.       }
  660.       continue;
  661.    }
  662.    set("\x01",eval("\x01") + 35);
  663.    toggleHighQuality();
  664.    var ┬º┬ºpop();
  665.    while(true)
  666.    {
  667.       ┬º┬ºpop()[┬º┬ºpop()]();
  668.       _loc1_[┬º┬ºconstant(35)]();
  669.       loop3:
  670.       while(true)
  671.       {
  672.          while((_loc0_ = ┬º┬ºpop()) != null)
  673.          {
  674.             _loc5_ = _loc0_;
  675.             _loc2_ = _loc4_[_loc5_];
  676.             if(_loc2_ == _loc1_)
  677.             {
  678.                continue;
  679.             }
  680.             _loc3_ = doFadeTo.bStopAfterFade.setFadeRate.setFadeAtEnd(_loc1_.create.nCurrentTime,_loc1_.create.Array,_loc2_.setVolume().nCurrentTime,_loc2_.setVolume().Array);
  681.             if(_loc3_ > _loc2_.setPan())
  682.             {
  683.                continue;
  684.             }
  685.             if(!_loc2_.Category.__get__LinkageName(_loc1_.Category))
  686.             {
  687.                continue;
  688.             }
  689.             switch(_loc2_.doDestroy())
  690.             {
  691.                case nRemainingLoop.removeMovieClip:
  692.                   if(MoreMath(_loc2_).getReachNum())
  693.                   {
  694.                      break loop3;
  695.                   }
  696.                   continue loop3;
  697.                case nRemainingLoop.nCurrentVolume:
  698.                   Library(_loc2_).onSoundComplete();
  699.                   _loc1_.onSoundComplete();
  700.                   break;
  701.                case nRemainingLoop.duration:
  702.                   if(!_loc1_.nTargetVolume)
  703.                   {
  704.                      _loc1_.__get__MasterVolume(_loc2_);
  705.                   }
  706.                   break;
  707.                case nRemainingLoop.FADE_AT_END_TIME:
  708.                   if(!_loc1_.nTargetVolume)
  709.                   {
  710.                      _loc1_.bNeedFreshStart(_loc2_);
  711.                   }
  712.                   break;
  713.                case nRemainingLoop.SoundManager:
  714.                   break;
  715.                case nRemainingLoop.EVENT_SOUND_COMPLETE:
  716.                   _loc1_.onSoundComplete();
  717.                   doFadeTo.LinkageName.ASSetPropFlags[┬º┬ºconstant(72)](Category.addProperty,"getCategoryVolume");
  718.                   break;
  719.                case nRemainingLoop.doSoundEvent:
  720.                   eval(┬º┬ºconstant(73))(_loc2_)[┬º┬ºconstant(74)]();
  721.                   break;
  722.                case nRemainingLoop.Utils:
  723.                   eval(┬º┬ºconstant(75))(_loc2_)[┬º┬ºconstant(74)]();
  724.                   break;
  725.             }
  726.          }
  727.          ┬º┬ºpop()[┬º┬ºpop()] = ┬º┬ºpop();
  728.          _loc2_.bNeedFreshStart = function(__oObject)
  729.          {
  730.             this.Sound = 0;
  731.             this.Object = 0;
  732.             if(this.doSoundComplete != undefined)
  733.             {
  734.                this.doSoundComplete[┬º┬ºconstant(76)](this);
  735.             }
  736.             this.nTargetVolume = true;
  737.             this.doSoundComplete = __oObject;
  738.             if(__oObject.doDestroy() === nRemainingLoop.duration)
  739.             {
  740.                this.setVolume().Array = __oObject.setVolume().Array - __oObject.Category[┬º┬ºconstant(77)];
  741.             }
  742.             __oObject[┬º┬ºconstant(78)](this);
  743.          };
  744.          _loc2_.__get__MasterVolume = function(_oTM)
  745.          {
  746.             if(doFadeTo.bStopAfterFade.setFadeRate[┬º┬ºconstant(79)](this.Sound) == -1)
  747.             {
  748.                this.setVolume().Array = _oTM.setVolume().Array + this.Category[┬º┬ºconstant(77)] + (this.setVolume().Array - _oTM.setVolume().Array);
  749.                this[┬º┬ºconstant(80)]();
  750.                _oTM[┬º┬ºconstant(81)](this.Sound);
  751.             }
  752.             else if(this.setVolume().nCurrentTime < _oTM.setVolume().nCurrentTime + _oTM.Category[┬º┬ºconstant(82)] / 2 && this.setVolume().nCurrentTime > _oTM.setVolume().nCurrentTime - _oTM.Category[┬º┬ºconstant(82)] / 2)
  753.             {
  754.                this[┬º┬ºconstant(81)](this.Sound);
  755.                _oTM[┬º┬ºconstant(81)](this.Sound);
  756.                this.bNeedFreshStart(_oTM);
  757.             }
  758.             else
  759.             {
  760.                this[┬º┬ºconstant(83)]();
  761.                _oTM[┬º┬ºconstant(84)](this.Object);
  762.             }
  763.          };
  764.          _loc2_.aEventListeners = function(__nFuturePosition)
  765.          {
  766.             var _loc2_ = false;
  767.             if(__nFuturePosition > nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(86)])
  768.             {
  769.                _loc2_ = true;
  770.                __nFuturePosition = nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(86)] - this.create[┬º┬ºconstant(82)] / 2;
  771.                this.Object = doFadeTo.bStopAfterFade.setFadeRate[┬º┬ºconstant(88)](this.Object,Library[┬º┬ºconstant(87)]);
  772.             }
  773.             else if(__nFuturePosition - this.create[┬º┬ºconstant(82)] / 2 < nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(89)])
  774.             {
  775.                _loc2_ = true;
  776.                __nFuturePosition = nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(89)] + this.create[┬º┬ºconstant(82)] / 2;
  777.                this.Object = doFadeTo.bStopAfterFade.setFadeRate[┬º┬ºconstant(88)](this.Object,Library[┬º┬ºconstant(87)]);
  778.             }
  779.             if(_loc2_)
  780.             {
  781.                if(this.Object != 0)
  782.                {
  783.                   this[┬º┬ºconstant(83)]();
  784.                }
  785.             }
  786.             this.create.nCurrentTime = __nFuturePosition;
  787.          };
  788.          _loc2_.prototype = function(__nFuturePosition)
  789.          {
  790.             var _loc2_ = false;
  791.             if(__nFuturePosition > nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(90)])
  792.             {
  793.                this.onSoundComplete();
  794.             }
  795.             else if(__nFuturePosition - this.create[┬º┬ºconstant(77)] < nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(91)])
  796.             {
  797.                _loc2_ = true;
  798.                __nFuturePosition = nRemainingLoop.push()[┬º┬ºconstant(85)]()[┬º┬ºconstant(91)] + this.create[┬º┬ºconstant(77)];
  799.                this.Sound = doFadeTo.bStopAfterFade.setFadeRate[┬º┬ºconstant(88)](this.Sound,Library[┬º┬ºconstant(92)]);
  800.             }
  801.             if(!_loc2_)
  802.             {
  803.                this.Sound += Library[┬º┬ºconstant(93)];
  804.                if(eval(┬º┬ºconstant(94))[┬º┬ºconstant(95)](this.Sound) < Library[┬º┬ºconstant(96)])
  805.                {
  806.                   this.Sound = 0;
  807.                }
  808.             }
  809.             else
  810.             {
  811.                if(this.Sound != 0)
  812.                {
  813.                   this[┬º┬ºconstant(80)]();
  814.                }
  815.                this[┬º┬ºconstant(97)]();
  816.             }
  817.             this.create.Array = __nFuturePosition;
  818.          };
  819.          _loc2_[┬º┬ºconstant(97)] = function()
  820.          {
  821.             this.Object = doFadeTo.bStopAfterFade.setFadeRate[┬º┬ºconstant(88)](this.Object,Library[┬º┬ºconstant(98)]);
  822.             if(eval(┬º┬ºconstant(94))[┬º┬ºconstant(95)](this.Object) < Library[┬º┬ºconstant(99)])
  823.             {
  824.                this.Object = 0;
  825.             }
  826.          };
  827.          _loc2_[┬º┬ºconstant(83)] = function()
  828.          {
  829.             this.Object *= -1;
  830.             this[┬º┬ºconstant(84)](this.Object);
  831.          };
  832.          _loc2_[┬º┬ºconstant(80)] = function()
  833.          {
  834.             this.Sound *= -1;
  835.             this[┬º┬ºconstant(81)](this.Sound);
  836.          };
  837.          _loc1_[┬º┬ºconstant(100)] = 3;
  838.          _loc1_.sLinkage = 50;
  839.          _loc1_[┬º┬ºconstant(101)] = 14;
  840.          _loc1_[┬º┬ºconstant(92)] = 12;
  841.          _loc1_[┬º┬ºconstant(87)] = 6;
  842.          _loc1_[┬º┬ºconstant(93)] = 2.5;
  843.          _loc1_[┬º┬ºconstant(98)] = 0.4;
  844.          _loc1_[┬º┬ºconstant(96)] = 0.2;
  845.          _loc1_[┬º┬ºconstant(99)] = 0.4;
  846.          ┬º┬ºconstant(104)(_global.Library.bFadeAtEnd,null,1);
  847.          break loop0;
  848.       }
  849.    }
  850. }
  851.